package com.lottery.game.core.modules.mapper.v2;

import com.lottery.game.common.base.mapper.CommonMapper;
import com.lottery.game.core.modules.entity.game.GameTypePlayingRelation;

import com.lottery.game.core.modules.entity.game.SysDict;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GameTypePlayingRelationMapper extends CommonMapper<GameTypePlayingRelation> {
    public void updateGameTypeOpenOrCloseByticket(@Param("ticket") int ticket, @Param("open") int open);

    public GameTypePlayingRelation selectGameRelationByTicket(@Param("ticket") int ticket);

    List<SysDict> getGroup();
}
